Raised This Month: $32 Target: $400
 8% 

[Fixed] Run Time error on AfterBurn


  
 
 
Thread Tools Display Modes
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-16-2005 , 05:54  
#11

I don't know that's why I was confused, cause that's the same code in this hero... I'll look at it when I get a chance...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 06-14-2005 , 22:58  
#12

Error fixed by adding the line (2 places in the code):
Code:
if (!length) length = 1
To make sure if the sqroot function returns a 0, so that the hero doesn't devide by a 0... Which is probably the isuue reported, but most likely would rarely ever happen.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode