I have confirmed that the "Sprite: no pSprite!!!" error happens when i try toggle the shadows back on using
PHP Code:
message_begin (MSG_BROADCAST, msg_shadow, _, 0);
write_long (1);
message_end ();
Is there something wrong with this function, does it unprecache the shadow sprite? Can anyone help me get around this?