diff options
Diffstat (limited to 'src/deh_frame.c')
-rw-r--r-- | src/deh_frame.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/deh_frame.c b/src/deh_frame.c index a2e4dc47..2204579b 100644 --- a/src/deh_frame.c +++ b/src/deh_frame.c @@ -62,6 +62,12 @@ static void *DEH_FrameStart(deh_context_t *context, char *line) return NULL; } + if (frame_number >= DEH_VANILLA_NUMSTATES) + { + DEH_Warning(context, "Attempt to modify frame %i: this will cause " + "problems in Vanilla dehacked.", frame_number); + } + state = &states[frame_number]; return state; |