Thread: onwall and such
View Single Post
  #56  
Old 05-29-2006, 11:21 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Tyrial
Yeah well I ment if it's returning true, but you knew that allready didn't you? You just wanted to act all smart. Bravo, you get a cookie.



No ****! That's like exactly what I mean.

If you think that ((((true == true) == true) == true) == true) is a waste, then you must think the same about (onwall() == true) because that is like (true == true).

In other words, he did:
if (true == true) //Waste.
instead of:
if (true) //Not waste.




So? It's only needed to get a value from the boolean ONCE, after that it's a waste, whether it's twice or more, it's the same crappy code.
Please tone down when posting in my forum, okay?
__________________
Skyld