aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-03 14:13:35 +1000
committerDavid Walter Seikel2012-02-03 14:13:35 +1000
commit96a5dad85217338fe77079a03172a11074b139d2 (patch)
treee5f1fd680bba914d91d735cf278dd0af88b4c5b1 /LuaSL/src
parentHalf arsed Lua implementation of state and state change. (diff)
downloadSledjHamr-96a5dad85217338fe77079a03172a11074b139d2.zip
SledjHamr-96a5dad85217338fe77079a03172a11074b139d2.tar.gz
SledjHamr-96a5dad85217338fe77079a03172a11074b139d2.tar.bz2
SledjHamr-96a5dad85217338fe77079a03172a11074b139d2.tar.xz
Only slightly less half arsed state. lol
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index ea68a2a..5fab5c4 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -2151,9 +2151,9 @@ static void outputStateToken(FILE *file, outputMode mode, LSL_Leaf *content)
2151 { 2151 {
2152 fprintf(file, "\n\n--[[state]] "); 2152 fprintf(file, "\n\n--[[state]] ");
2153 outputText(file, &(state->name), !(LSL_NOIGNORE & content->toKen->flags)); 2153 outputText(file, &(state->name), !(LSL_NOIGNORE & content->toKen->flags));
2154 fprintf(file, " = nil;"); 2154 fprintf(file, " = {};");
2155 outputRawBlock(file, mode, state->block, FALSE);
2155 } 2156 }
2156 outputRawBlock(file, mode, state->block, TRUE);
2157 } 2157 }
2158 } 2158 }
2159} 2159}