260 |
260 |
261 // stateSpawn must be defined! |
261 // stateSpawn must be defined! |
262 if (!g_stateSpawnDefined) |
262 if (!g_stateSpawnDefined) |
263 ParserError ("script must have a state named `stateSpawn`!"); |
263 ParserError ("script must have a state named `stateSpawn`!"); |
264 |
264 |
265 |
|
266 |
|
267 // Dump the last state's onenter and mainloop |
265 // Dump the last state's onenter and mainloop |
268 w->WriteBuffers(); |
266 w->WriteBuffers(); |
269 |
267 |
270 // If we added strings here, we need to write a list of them. |
268 // If we added strings here, we need to write a list of them. |
271 unsigned int stringcount = CountStringTable (); |
269 unsigned int stringcount = CountStringTable (); |