home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed map object action bug deriving from wrong order of reading/writing MapObject...
[plomrogue]
/
src
/
misc.c
diff --git
a/src/misc.c
b/src/misc.c
index 4e6527d1acdeb91c71f6136b0f618e076e807fec..0e8abe9c6eecc755fd2fd37774887f9621ff1727 100644
(file)
--- a/
src/misc.c
+++ b/
src/misc.c
@@
-250,7
+250,7
@@
extern void turn_over(char action)
break;
}
char * sel = "NSEW";
- map_object->command =
1
;
+ map_object->command =
get_moa_id_by_name("move")
;
map_object->arg = sel[rrand() % 4];
}
first_round = 0;