View Single Post
Old May 27, 2009, 21:15   #1
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quick Term_erase question.

And the question is ... what's this bit in aid of?

Code:
	if ((n > 0) && (scr_cc[x] == (char) -1) && (scr_aa[x] == 255))
	{
		x--;
		n++;
	}
Apart from not understanding it and wanting to my problem is that I am using wchar_t not char for text so that "(char) -1" and "255" might well not be compatible with the rest of the code now.

Incidentally, if I was going to guess, I'd suspect it might have something to do with BIGTILE mode? (Maybe not).

[EDIT] Yeah, looks like it's BIGTILE stuff. I think I've got a handle on it, but I guess I'll end up changing some code for this.
__________________
Currently turning (Angband) Japanese.

Last edited by PaulBlay; May 27, 2009 at 21:34.
PaulBlay is offline   Reply With Quote