Fixed console message

This commit is contained in:
Simon 2011-04-01 10:37:27 +01:00
parent c7b441602f
commit 1dee7a8da2

View File

@ -3919,6 +3919,7 @@ char *console_ui(pixel *vid_buf,char error[255],char console_more) {
memcpy(vid_buf,old_buf,(XRES+BARSIZE)*YRES*PIXELSIZE);
draw_line(vid_buf, 0, 219, XRES+BARSIZE-1, 219, 228, 228, 228, XRES+BARSIZE);
#ifdef PYCONSOLE
if(pygood)
i=255;
else
@ -3927,6 +3928,9 @@ char *console_ui(pixel *vid_buf,char error[255],char console_more) {
drawtext(vid_buf, 15, 15, "Welcome to The Powder Toy console v.3 (by cracker64, python by Doxin)", 255, i, i, 255);
else
drawtext(vid_buf, 15, 15, "Welcome to The Powder Toy console v.3 (by cracker64, python disabled)", 255, i, i, 255);
#else
drawtext(vid_buf, 15, 15, "Welcome to The Powder Toy console v.3 (by cracker64, python disabled)", 255, 255, 255, 255);
#endif
cc = 0;
currentcommand = last_command;