summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-04-01 09:37:27 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-01 09:37:27 (GMT)
commit1dee7a8da25a99f6e4f5d33c350b28b6dea23691 (patch)
treea9650a7ad455e0bd4f871cb2b7ec98b73ce4bb80 /src/interface.c
parentc7b441602feb5573619e1ba4536b4dce4878a803 (diff)
downloadpowder-1dee7a8da25a99f6e4f5d33c350b28b6dea23691.zip
powder-1dee7a8da25a99f6e4f5d33c350b28b6dea23691.tar.gz
Fixed console message
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/interface.c b/src/interface.c
index 713a454..9da4623 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -3919,14 +3919,18 @@ 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);
- if(pygood)
+#ifdef PYCONSOLE
+ if(pygood)
i=255;
else
i=0;
if(pyready)
- drawtext(vid_buf, 15, 15, "Welcome to The Powder Toy console v.3 (by cracker64, python by Doxin)",255,i,i, 255);
+ 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);
+ 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;