- [NEW] Implementat el flag SPECIAL en l'editor

This commit is contained in:
JailDoctor committed 2024-07-01 13:00:39 +02:00
1 parent e6539f4989
commit 16623cd1de
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -231,6 +231,7 @@ namespace actor
if (value&32) strcat(tmp, "ORIENTABLE ");
if (value&64) strcat(tmp, "DEADLY ");
if (value&128) strcat(tmp, "GRAVITY ");
if (value&512) strcat(tmp, "SPECIAL ");
return tmp;
}
+3 -1
View File
@@ -668,7 +668,9 @@ switch (section)
changed |= btn_small(73, line, act->bmp_offset.y, -32, 64, 25);
line+=10;
ui::label("FLAGS", 2, line, 96, 11, GRAY); line+=10;
ui::label("FLAGS", 2, line, 96, 11, GRAY);
changed |= btn_check(74, line, "SPEC", act->flags, FLAG_SPECIAL);
line+=10;
changed |= btn_check(2, line, "PICK", act->flags, FLAG_PICKABLE);
changed |= btn_check(26, line, "PUSH", act->flags, FLAG_PUSHABLE);